export const constantRoutes = [
    {
        path: '/login',
        component: () => import('@/views/Login/index.vue'),
        name: 'Login',
        meta: {
            title: '登录'
        }
    },
    {
        path: '/',
        component: import('@/layout/index.vue'),
        name: 'Layout',
        meta: {
            title: ''
        },
        redirect: '/home',
        children: [
            {
                path: '/home',
                component: () => import('@/views/Home/index.vue'),
                name: 'Home',
                meta: {
                    title: '工作看板'
                }
            },
            {
                path: '/user',
                component: () => import('@/views/User/index.vue'),
                name: 'User',
                meta: {
                    title: '用户管理'
                }
            }
        ]
    }
]